\documentclass[12pt]{article}

\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{xcolor}

\newcommand{\ed}{\operatorname{ed}}
\newcommand{\ZZ}{\mathbb{Z}}
\newcommand{\GG}{\mathbf{G}}
\definecolor{c1}{RGB}{0,30,75}
\definecolor{c2}{RGB}{235,110,10}

\begin{document}



\colorbox{c1}{\textcolor{c2}{$\boldsymbol{e^{i \pi} = -1}$}}
\colorbox{c1}{\textcolor{c2}{$e^{i \pi} = -1$}}

\colorbox{c1}{\textcolor{white}{$\boldsymbol{\displaystyle e^{i \pi} = -1}$}}
\colorbox{c1}{\textcolor{white}{$\displaystyle e^{i \pi} = -1$}}

\colorbox{c1}{\textcolor{white}{$\boldsymbol{\displaystyle\ed_p(S_n) = \left\lfloor \frac{n}{p}\right\rfloor}$}}
\colorbox{c1}{\textcolor{white}{$\displaystyle\ed_p(S_n) = \left\lfloor \frac{n}{p}\right\rfloor$}}
\colorbox{c1}{\textcolor{white}{$\boldsymbol{\displaystyle\ed_k(\ZZ/p^r\ZZ) = [k(\zeta_{p^r}):k]}$}}
\colorbox{c1}{\textcolor{white}{$\displaystyle\ed_k(\ZZ/p^r\ZZ) = [k(\zeta_{p^r}):k]$}}
\colorbox{c1}{\textcolor{white}{$\boldsymbol{\displaystyle k^*\xrightarrow{\; n \;}k^*\xrightarrow{\,\; \;} H^1(k, \mu_n) \xrightarrow{\,\; \;} H^1(k, \GG_m)}$}}
\colorbox{c1}{\textcolor{white}{$\displaystyle k^*\xrightarrow{\; n \;}k^*\xrightarrow{\,\; \;} H^1(k, \mu_n) \xrightarrow{\,\; \;} H^1(k, \GG_m)$}}
\colorbox{c1}{\textcolor{white}{$\boldsymbol{e = \displaystyle\lim_{n \to \infty}\left(1+\frac{1}{n}\right)}$}}
\colorbox{c1}{\textcolor{white}{$e = \displaystyle\lim_{n \to \infty}\left(1+\frac{1}{n}\right)$}}
\colorbox{c1}{\textcolor{white}{$\boldsymbol{\displaystyle\int_\infty^\infty e^{-x^2}dx = \sqrt{\pi}}$}}
\colorbox{c1}{\textcolor{white}{$\displaystyle\int_\infty^\infty e^{-x^2}dx = \sqrt{\pi}$}}

\[
\ed_p(S_n) = \left\lfloor \frac{n}{p}\right\rfloor
\]

\[
\ed_k(\ZZ/p^r\ZZ) = [k(\zeta_{p^r}):k]
\]

\[
k^*\xrightarrow{\; n \;}k^*\xrightarrow{\,\; \;} H^1(k, \mu_n) \xrightarrow{\,\; \;} H^1(k, \GG_m)
\]

\[
e = \lim_{n \to \infty}\left(1+\frac{1}{n}\right)
\]



\[
\int_\infty^\infty e^{-x^2}dx = \sqrt{\pi}
\]




\end{document}
